package cn.edu.scau.cmi.wuyihan.abstractFactory.factory;
import cn.edu.scau.cmi.wuyihan.abstractFactory.domainAbstractClass.Beef;
import cn.edu.scau.cmi.wuyihan.abstractFactory.domainAbstractClass.Chicken;
import cn.edu.scau.cmi.wuyihan.abstractFactory.domainAbstractClass.Pork;
public abstract class AbstractFactory {
	public static AbstractFactory getFactory(String brand) {
		switch (brand) {
		case "Wens":
			return new WensFactory();
		case "Tianbang":
			return new TianbangFactory();
		case "Aonong":
			return new AonongFactory();
		}
		
		return null;
	}
	public abstract Chicken getChicken();
	public abstract Beef getBeef();
	public abstract Pork getPork();
}
